/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package web.enity;

/**
 *
 * @author 10592
 */
public class Book {
    int bid;  
    String bookName;
    double price;
    String image;
    int stock;

    public Book() {
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public Book(int bid, String bookName, double price, String image, int stock) {
        this.bid = bid;
        this.bookName = bookName;
        this.price = price;
        this.image = image;
        this.stock = stock;
    }
}
